
import BaseService from '@/api/BaseService'
class MenuService extends BaseService {
  // 请求保单模型inst接口
  getRootMenu (commonInfo, callback = () => {}) {
    const data = {
      commonInfo: commonInfo,
      value: '1'
    }
    return this.remoteCall('/menu/getRootMenu', data, callback)
  }

  getRouteMenu (commonInfo, callback = () => {}) {
    const data = {
      commonInfo: commonInfo,
      value: '1'
    }
    return this.remoteCall('/menu/getRouteMenu', data, callback)
  }
}

const menuService = new MenuService(false)
export default menuService
